package com.sec.etech.file.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@lombok.Data
@TableName("sys_file_log")
public class EtechFileLog {

    @TableId("id_")
    private String id;
    @TableField("year_")
    private int year; //所属年度, 冗余，如数据量太多可作为分区字段
    // 迁移记录 upload_series_
    @TableField("file_id_")
    private String fileId;

    @TableField("action_")
    private String action;   //online,download,fav,tag
    @TableField("content_")
    private String content;  //action content
    @TableField("uid_")
    private String uid;
    @TableField("postdate_")
    private String postdate;

    @TableField(exist = false)
    private String username;

}
